﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrl_san_ds.ascx.cs" Inherits="web_Controls_ctrl_san_ds" %>
<div style="width:99%; float: left;padding:1px " class="ui-widget ui-widget-content ui-corner-all ">
            <div style="height: 20px; padding-top: 5px; padding-left: 20px;" class="ui-widget-header ui-corner-all ">
                Thông tin Sàn Giao Dịch Việc Làm Trực Tuyến&nbsp;</div>
            <div style="padding: 5px;width:99%" >
            <h4>
                    <span class="ui-icon ui-icon-power" style="float: left; margin-right: 0.3em;"></span>
                Đang Diễn Ra:
                </h4>
            <div class="ui-widget ui-widget-content ui-corner-all" style="padding:3px;">
              <table style="width:100%; text-align: left;" >
                <tr>
                    <th  style="height: 1px; width: 360px; border-bottom: #ccc 1px dotted; text-align: left;" >
                    <span class="ui-icon ui-icon-newwin" style="float:left"></span>Thông tin sàn</th>
                    <th style="height: 1px; width: 131px; border-bottom: #ccc 1px dotted;"> Thống kê</th>
                    <th style="height: 1px; width: 173px; border-bottom: #ccc 1px dotted;"> </th>
                </tr>
              <%    
                  for (int i = 0; i < dtt_sapdienra.Rows.Count; i++)
                  {
                      
                  
               %>
               <tr>
                    <td  style="height: 1px; width: 360px; border-bottom: #ccc 1px dotted; text-align: left;" >
                    <span class="ui-icon ui-icon-newwin" style="float:left"> </span> <a href="javascript:void(0);" > 
                    <b> <%=dtt_sapdienra.Rows[i]["ten_san"] %></b> <%=dtt_sapdienra.Rows[i]["gioi_thieu"] %> </a>
                       <br />Đơn vị tổ chức : <%=dtt_sapdienra.Rows[i]["Ten_trung_tam"] %><br />
                       <span style="color: #ff0000">  [Hotline: <%=dtt_sapdienra.Rows[i]["dien_thoai"] %>] </span>
                    </td>
                    <td style="height: 1px; width: 131px; border-bottom: #ccc 1px dotted; text-align: right;"> 
                      Nhà tuyển dụng : <%=sanComm.SoLuongNTD(dtt_sapdienra.Rows[i]["ma_san"].ToString())%> <br />
                      Tuyển dụng : <%=sanComm.SoLuongVLT(dtt_sapdienra.Rows[i]["ma_san"].ToString())%><br />
                       Ứng viên : <%=sanComm.SoLuongNTV(dtt_sapdienra.Rows[i]["ma_san"].ToString())%></td>
                     <td style="height: 1px; width: 173px; border-bottom: #ccc 1px dotted;"> 
                     <input style="margin:3px;" type="button" onclick="window.open ('web/pages/SanDefault.aspx?sid=<%=dtt_sapdienra.Rows[i]["ma_san"]%>','mywindow','location=0,status=0,scrollbars=1,width=1024,height=640');" value="Vào Sàn" class="ui-state-default ui-corner-all" /> 
                    </td>
                </tr>
             <%
                
                  }
              %>
                 </table>
                 </div>   
             
                          
            </div>
            <div style="padding: 5px;width:99%" >
            <h4>
                    <span class="ui-icon ui-icon-power" style="float: left; margin-right: 0.3em;"></span>
                Sắp Diễn Ra:
                </h4>
            <div class="ui-widget ui-widget-content ui-corner-all" style="padding:3px;">
              <table style="width:100%; text-align: left;" >
                <tr>
                    <th  style=" width: 367px; border-bottom: #ccc 1px dotted; text-align: left;" >
                    <span class="ui-icon ui-icon-newwin" style="float:left"></span>Thông tin sàn</th>
                    <th style="height: 1px; width: 151px; border-bottom: #ccc 1px dotted;"> Thống kê</th>
                    <th style="height: 1px; width: 271px; border-bottom: #ccc 1px dotted;"> </th>
                </tr>
              
               <%    
                  for (int i = 0; i < dtt_dangdienra.Rows.Count; i++)
                  {
                      
                  
               %>
               <tr>
                    <td  style=" width: 563px; border-bottom: #ccc 1px dotted; text-align: left;" >
                    <span class="ui-icon ui-icon-newwin" style="float:left"> </span> <a href="javascript:void(0);" > 
                    <b> <%=dtt_dangdienra.Rows[i]["ten_san"]%></b>  </a>
                     <br />Đơn vị tổ chức : <%=dtt_dangdienra.Rows[i]["Ten_trung_tam"]%><span style="color: #ff0000">  [Hotline: <%=dtt_dangdienra.Rows[i]["dien_thoai"]%>] </span>
                     <br /><%=dtt_dangdienra.Rows[i]["gioi_thieu"]%>
                    </td>
                    <td style="height: 1px; width: 195px; border-bottom: #ccc 1px dotted; text-align: right;"> 
                       Nhà tuyển dụng : <%=sanComm.SoLuongNTD(dtt_dangdienra.Rows[i]["ma_san"].ToString())%> <br />
                      Tuyển dụng : <%=sanComm.SoLuongVLT(dtt_dangdienra.Rows[i]["ma_san"].ToString())%><br />
                       Ứng viên : <%=sanComm.SoLuongNTV(dtt_dangdienra.Rows[i]["ma_san"].ToString())%></td>
                     <td style=" width: 271px; border-bottom: #ccc 1px dotted;text-align:center"> 
                    <input style="margin:3px;" type="button" onclick="window.open ('web/pages/SanDefault.aspx?sid=<%=dtt_dangdienra.Rows[i]["ma_san"]%>','mywindow','location=0,status=0,scrollbars=1,width=1024,height=640');" value="Vào Sàn" class="ui-state-default ui-corner-all" /> 
                     </td>
                </tr>
             <%
                
                  }
              %>
             
                 </table>
                 </div>   
             
                          
            </div>
            <div style="padding: 5px;width:99%" >
            <h4>
                    <span class="ui-icon ui-icon-power" style="float: left; margin-right: 0.3em;"></span>
                Đã Diễn Ra:
                </h4>
            <div class="ui-widget ui-widget-content ui-corner-all" style="padding:3px;">
              <table style="width:100%; text-align: left;" >
                <tr>
                    <th  style="height: 1px; width: 367px; border-bottom: #ccc 1px dotted; text-align: left;" >
                    <span class="ui-icon ui-icon-newwin" style="float:left"></span>Thông tin sàn</th>
                    <th style="height: 1px; width: 151px; border-bottom: #ccc 1px dotted;"> Thống kê</th>
                    <th style="height: 1px; width: 267px; border-bottom: #ccc 1px dotted;"> </th>
                </tr>
              
                <%    
                  for (int i = 0; i < dtt_hoanthanh.Rows.Count; i++)
                  {
                      
                  
               %>
               <tr>
                    <td  style="height: 1px; width: 563px; border-bottom: #ccc 1px dotted; text-align: left;" >
                    <span class="ui-icon ui-icon-newwin" style="float:left"> </span> <a href="javascript:void(0);" > 
                    <b> <%=dtt_hoanthanh.Rows[i]["ten_san"]%></b> <%=dtt_hoanthanh.Rows[i]["gioi_thieu"]%> </a>
                    <br />Đơn vị tổ chức : <%=dtt_hoanthanh.Rows[i]["Ten_trung_tam"]%><br />
                    <span style="color: #ff0000">[Hotline: <%=dtt_hoanthanh.Rows[i]["dien_thoai"]%>] </span>
                    </td>
                    <td style="height: 1px; width: 195px; border-bottom: #ccc 1px dotted; text-align: right;"> 
                      Nhà tuyển dụng : <%=sanComm.SoLuongNTD(dtt_hoanthanh.Rows[i]["ma_san"].ToString())%> <br />
                      Tuyển dụng : <%=sanComm.SoLuongVLT(dtt_hoanthanh.Rows[i]["ma_san"].ToString())%><br />
                       Ứng viên : <%=sanComm.SoLuongNTV(dtt_hoanthanh.Rows[i]["ma_san"].ToString())%></td>
                     <td style="height: 1px; width: 267px; border-bottom: #ccc 1px dotted;"> 
                      <input style="margin:3px;" type="button" onclick="window.open ('web/pages/SanDefault.aspx?sid=<%=dtt_hoanthanh.Rows[i]["ma_san"]%>','mywindow','location=0,status=0,scrollbars=1,width=1024,height=640');" value="Vào Sàn" class="ui-state-default ui-corner-all" /> 
                    </td>
                </tr>
             <%
                
                  }
              %>
                 </table>
                 </div>   
             
                          
            </div>
        </div>